@(loginStaff:Map[String, Object])
<script type="text/javascript">
var StaffRoleType = {
	NVBH:1,
	GSNPP:2,
	TBHV:3,
	KT:4,
	GDM:5,
	VNM:6, 
	GSM:7, 
	GSKA: 10, 
	TBHVKA: 11, 
	GDMKA:12, 
	GSMT: 20, 
	TBHVMT: 21, 
	GDMMT:22
};
var activeType = {
	ALL: -2, 
	DELETE: -1, 
	STOPPED: 0, 
	RUNNING: 1, 
	WAITING: 2,
	parseValue: function(value){
		if(value.trim() == 'STOPPED'){
			return activeType.STOPPED;
		} else if(value.trim() == 'RUNNING'){
			return activeType.RUNNING;
		} else if(value.trim() == 'WAITING'){
			return activeType.WAITING;
		}			
		return -2;
	}
};
</script>
<input type="hidden" id="shopId" value="@loginStaff.get("shop").asInstanceOf[models.entities.Shop].getShopId()"/>
<input type="hidden" id="staffId" value="@loginStaff.get("staff").asInstanceOf[models.entities.Staff].getStaffId()"/>
<input type="hidden" id="staffRoleType" value="@loginStaff.get("staff").asInstanceOf[models.entities.Staff].getRoleType()"/>